package com.ren.article.mapper;

import com.ren.article.entity.ReclArticle;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author RZY
 * @since 2022-07-20
 */

@Mapper
public interface ReclArticleMapper extends BaseMapper<ReclArticle> {

    List<ReclArticle> getArticleByPraiseUserId(Long userId);

    List<ReclArticle> getArticleByCommentUserId(Long userId);

    List<ReclArticle> getArticleByCollectionUserId(Long userId);
}
